package com.hxkj.service;

import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.UserArticle;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

import java.util.List;

/**
 * created by chenfangzhou on 2018/8/13
 */
public interface ArticleCollectionService {
    ResultMessageStruct collectArticle(UserArticle userArticle) throws Exception;

    ResultMessageStruct cancelCollectArticle(UserArticle userArticle) throws Exception;

    PageInfo<UserArticle> getCollectionList(UserArticle userArticle, PageTo pageParam) throws Exception;

    int ifCollectArticle(UserArticle userArticle) throws Exception;
}
